﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cricket.LinqModel;

namespace Cricket.LinqModel
{

    public class AdminResult
    {
        private IDataRepository _dataObject;
        private int _Id;
        private string _FirstName;
        private string _LastName;
        public string _Phone;
        public string _Email;
        public string _City;
        public string _State;
        public string _Zip;
        public bool _IsActive;
        public DateTime _DateAdded;
        public DateTime _DateUpdated;
        public int _BatId;
        public int _AdminCredentailId;
        public int _AdminId;
        public string _Username;
        public string _Password1;
        public string _Password2;
        public int _CommonRate;

        public int Id
        {
            get { return _Id; }
            set { _Id = value; }
        }
        public string FirstName
        {
            get { return _FirstName; }
            set { _FirstName = value; }
        }
        public string LastName
        {
            get { return _LastName; }
            set { _LastName = value; }
        }
        public string Phone
        {
            get { return _Phone; }
            set { _Phone = value; }
        }
        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }
        public string City
        {
            get { return _City; }
            set { _City = value; }
        }
        public string State
        {
            get { return _State; }
            set { _State = value; }
        }
        public string Zip
        {
            get { return _Zip; }
            set { _Zip = value; }
        }

        public Boolean IsActive
        {
            get { return _IsActive; }
            set { _IsActive = value; }
        }

        public DateTime DateAdded
        {
            get { return _DateAdded; }
            set { _DateAdded = value; }
        }

        public DateTime DateUpdated
        {
            get { return _DateUpdated; }
            set { _DateUpdated = value; }
        }
        public int AdminCredentialId
        {
            get { return _AdminCredentailId; }
            set { _AdminCredentailId = value; }
        }
        public int AdminId
        {
            get { return _AdminId; }
            set { _AdminId = value; }
        }
        public int BatId
        {
            get { return _BatId; }
            set { _BatId = value; }
        }
        public string Username
        {
            get { return _Username; }
            set { _Username = value; }
        }

        public string Password1
        {
            get { return _Password1; }
            set { _Password1 = value; }
        }

        public string Password2
        {
            get { return _Password2; }
            set { _Password2 = value; }
        }

        public int CommonRate
        {
            get { return _CommonRate; }
            set { _CommonRate = value; }
        }
    }
}
